﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Citizen.aspx.cs" Inherits="WebApp.secure_pages.Citizen" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    The chosen citizens bloodpressure &nbsp;
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataSourceID="EntityDataSource1">
        <Columns>
            <asp:BoundField DataField="Systolic" HeaderText="Systolic" ReadOnly="True" 
                SortExpression="Systolic" />
            <asp:BoundField DataField="Diastolic" HeaderText="Diastolic" 
                SortExpression="Diastolic" ReadOnly="True" />
            <asp:BoundField DataField="HartRate" HeaderText="HartRate" 
                SortExpression="HartRate" ReadOnly="True" />
        </Columns>
    </asp:GridView>
    <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
        ConnectionString="name=F11ITNET2Gr7Entities" 
        DefaultContainerName="F11ITNET2Gr7Entities" EnableFlattening="False" 
        EntitySetName="BlodPressure" 
        Select="it.[Systolic], it.[Diastolic], it.[HartRate]">
    </asp:EntityDataSource>
   
</asp:Content>
